package cn.tedu.boyou.comment.domain;

import lombok.Getter;
import lombok.Setter;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;
import java.util.Date;

/**
 * 景点点评的评论
 */
@Getter
@Setter
@Document("review_comment")
public class ReviewComment implements Serializable{
    @Id
    private String id;
    private String reviewId;//点评的id
    private String comment;//回复的内容
    private Long userId;//作者的id
    private String username;//作者的名字
    private String headUrl;//作者的头像
    private Date createTime;//回复的时间

    private ReviewComment refReviewComment;//回复的回复
}
